//
//  DFCamerPreView.h
//  自定义美颜
//
//  Created by zhao on 16/8/2.
//  Copyright © 2016年 zhao. All rights reserved.
//

#import <UIKit/UIKit.h>
@class DFCamerPreView;

@protocol DFCamerPreViewDelegate <NSObject>

/**切换闪光灯*/
- (void)didClickChangeFlashMode:(UIButton *)button;
/**切换前后摄像头*/
- (void)didClickTurnLight:(UIButton *)button;
/**点击相册预览*/
- (void)didClickphotoBroswBtn:(UIButton *)button;
/**点击拍照*/
- (void)didClickTakePhoto:(UIButton *)button;
/**点击取消*/
- (void)didClickCancelButton:(UIButton *)button;

@end

@interface DFCamerPreView : UIView

/**相机设置层*/
@property (nonatomic, strong)  UIView *setupView;
/**当前照片*/
@property (nonatomic, strong) UIImage *currentImage;
/**代理属性  以相应预览层的按钮的点击*/
@property (nonatomic, weak) id<DFCamerPreViewDelegate> delegate;

@end
